<div style="margin: 0px;">
  <span #roleSpan nz-tooltip [nzTooltipTitle]="'编码:' + roleList[0].roleCode" style="display: inline-block">
    <nz-tag [nzColor]="'blue'">{{roleList[0].roleName}}</nz-tag>
    <i *ngIf="roleList.length > 1" class="iconfont icon-more more " nz-popover nzPopoverTitle="用户拥有角色"
      [nzPopoverContent]="contentTemplate" nzPopoverTrigger="click"></i>
    <ng-template #contentTemplate>
      <div>
        <div *ngFor="let r of roleList">{{r.roleName}}<span style="color: orange">({{r.roleCode}})</span></div>
      </div>
    </ng-template>
  </span>
</div>
